<?php
$config = require_once THINK_PATH.'../common/config.php';

$part_config = array(
		/*框架配置*/
		'LAYOUT_ON' => true,
		'LAYOUT_NAME' => 'layout',
		
		/*项目配置*/
		'APP_NAME' => '分销仓库',
		
		/*数据库配置*/
		'DB_TYPE' => 'mysql',
                'DB_HOST' => 'rm-bp106758m58ll75ec.mysql.rds.aliyuncs.com',
                'DB_NAME' => 'fx_server',
                'DB_USER' => 'gchao',
                'DB_PWD'  => 'qianhaihb123',
		'DB_PORT' => '3306',
		'DB_CHARSET' => 'utf8',
		'DB_PREFIX' => 'fx_',
		
		/*业务级别配置参数*/
		'menus' =>array(
				array(
						array(
								'tip' => '仓库管理',
								'link' => 'javascript:void(0)'
						),
//						array(
//								'tip' => '商品入库',
//								'link' => '/goods/index'
//						),
						array(
							'tip' => '在线商品',
							'link' => '/goods/online'
						),
						array(
								'tip' => '订单中心',
								'link' => '/order/index'
						),
				),
			),
		/*商品所属站点*/
		'FiterControl' => array(
				'hb\Controller\UserController',
				'hb\Controller\ApiController'
			),
		'icons' => array(
				'icon-briefcase','icon-list-alt','icon-user','icon-comment','icon-tasks','icon-credit-card','icon-folder-open','icon-hdd','icon-cloud','icon-cog'	
			),
		'open_cache' => false
);

$config = array_merge($config,$part_config);
return $config;
